<?php
namespace app\admin\model;
use think\Model;
use think\Db;

class Message extends Model
{
    protected $autoWriteTimestamp=true;
    public function business(){
        return $this->belongsTo('business','business_id');
    }
    public function admin(){
        return $this->belongsTo('admin','user_id');
    }
    public function position(){
        return $this->belongsTo('position','position_id');
    }


	
	
    
}
